package com.ibigcat.module.mdm.controller.admin.file.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 文件 Response VO")
@Data
@ExcelIgnoreUnannotated
public class FileRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "16483")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "来源id", example = "25385")
    @ExcelProperty("来源id")
    private Long sourceId;

    @Schema(description = "来源类型", example = "2")
    @ExcelProperty("来源类型")
    private String sourceType;

    @Schema(description = "文件id", example = "26582")
    @ExcelProperty("文件id")
    private Long fileId;

    @Schema(description = "文件名称", example = "赵六")
    @ExcelProperty("文件名称")
    private String fileName;

    @Schema(description = "OSS文件存储路径")
    @ExcelProperty("OSS文件存储路径")
    private String filePath;

    @Schema(description = "文件后缀")
    @ExcelProperty("文件后缀")
    private String fileFormat;

    @Schema(description = "文件大小")
    @ExcelProperty("文件大小")
    private String fileSize;

    @Schema(description = "上传人名称", example = "赵六")
    @ExcelProperty("上传人名称")
    private String uploaderName;

    @Schema(description = "上传时间")
    @ExcelProperty("上传时间")
    private LocalDateTime uploadTime;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}